<template>
	<view class="flexColumn">
		<image src="../../static/newimg/9.png" class="back"></image>

		<view class="List">
			<image src="../../static/newimg/9.png" class="companyImg"></image>

			<view class="flexRow company">
				<text class="name">江苏省测试科技数据有限公司</text>
				<text class="renz">已认证</text>
			</view>

			<view class="flexRow det">
				<text class="b1">民营/私企</text>
				<view class="b2">|</view>

				<text class="b1">50——100人</text>
				<view class="b2">|</view>

				<text class="b1">计算机软件</text>
			</view>
		</view>

		<view class="flexRow linecenter">
			<image src="../../static/newimg/16.png" class="img"></image>

			<text @click="clickTops(1)" :class="['width',clickTop==1 ? 'active' : '']">公司信息</text>
			<text @click="clickTops(2)" :class="['width1',clickTop==2 ? 'active' : '']">在招职位(23)</text>
		</view>
		
		<view class="roeLists">
			<view v-for="item in 6">
				<view class="flexRow row1">
					<text class="c1">UI设计师</text>
					<text class="c2">12-16K/月</text>
				</view>
				
				<view class="imgList flexRow">
					<view class="flexRow imgrow1">
						<image src="../../static/newimg/2.png" class="img" style="width: 27rpx;height: 32rpx;"></image>
						<text class="t1">海州</text>
						
						<image src="../../static/newimg/3.png" class="img left" style="width: 35rpx;height: 32rpx;"></image>
						<text class="t1">3-5年</text>
						
						<image src="../../static/newimg/4.png" class="img left"  style="width: 43rpx;height: 32rpx;"></image>
						<text class="t1">大专</text>
					</view>
					<view class="imgrow2">17:00今天</view>
				</view>
				
				<view class="company">江苏省库及苏省库有限公司</view>
				
				<view class="line"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				clickTop: 2
			}
		},
		methods: {
			clickTops(type) {
				this.clickTop = type;
			}
		}
	}
</script>

<style lang='scss'>
	.back {
		width: 100%;
	}

	.List {
		height: 100rpx;
		width: 100%;
		border-radius: 30rpx;
		margin-top: -100rpx;
		background: #fff;
		z-index: 9;
	}

	.companyImg {
		width: 150rpx;
		height: 150rpx;
		margin-left: 80rpx;
		margin-top: -75rpx;
	}

	.company {
		.name {
			margin-left: 30rpx;
			margin-top: 10rpx;
			font-size: 34rpx;
		}

		.renz {
			margin-left: 20rpx;
			background: $uni-bg-color-main;
			font-size: $uni-font-size-sm;
			color: $uni-text-color-inverse;
			padding: 5rpx 20rpx;
			border-radius: 30rpx;
			height: 50rpx;
			line-height: 50rpx;
			width: 110rpx;
			text-align: center;
		}
	}

	.det {
		margin-top: 15rpx;
		height: 40rpx;
		align-items: center;
		margin-left: 15rpx;

		.b1 {
			font-size: $uni-font-size-big;
			margin-left: 15rpx;
			color: #555555;
		}

		.b2 {
			margin-left: 15rpx;
			color: #555555;
		}
	}

	.linecenter {
		font-size: $uni-font-size-lg;
		color: #000;
		display: flex;
		height: 100rpx;
		align-items: center;
		border-bottom: #F2F2F2 solid 2rpx;
		margin-top: 120rpx;
		
		.width {
			text-align: center;
			margin-left: 10rpx;
		}
		.width1{
			margin-left: 100rpx;
		}

		.active {
			color: $uni-bg-color-main;
		}
		.img{
			width: 51rpx;
			height: 51rpx;
			margin-left: 35rpx;
		}
	}
	
	
	 .row1{
	 		  margin-top: 30rpx;
	 		  
	 		  .c1{
	 			  width: 50%;
	 			  font-size: $uni-font-size-lg;
	 			  font-weight: 680;
	 		  }
	 		  .c2{
	 			  width: 50%;
	 			  color: red;
				   font-size: $uni-font-size-lg;
	 			  text-align: right;
	 		  }
	 		}
	 		.imgList{
	 			height: 40rpx;
	 			align-items: center;
	 			margin-top: 10rpx;
	 			font-size: $uni-font-size-sm;
	 			color: gray;
	 			
	 			.imgrow1{
	 				width: 80%;
	 			}
	 			
	 			.imgrow2{
	 				width: 20%;
	 				text-align: right;
	 			}
	 			
	 			.t1{
	 				margin-left: 10rpx;
	 			}
	 			.img{
	 				width: 30rpx;
	 				height: 30rpx;
	 			}
	 			.left{
	 				margin-left: 25rpx;
	 			}
	 		}
	 		
	 		.company{
	 			margin-top: 10rpx;
	 			font-size: $uni-font-size-base;
	 			color: gray;
	 		}
	 		
	 		.line{
	 		  	width: 100%;
	 			height: 2rpx;
	 			margin-top: 30rpx;
	 			background: $uni-text-color-line;
	 		}
	.roeLists{
		width: 92%;
		margin-left: 4%;
	}
</style>
